package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.WechatPicDao;
import com.bootdo.system.domain.WechatPicDO;
import com.bootdo.system.service.WechatPicService;



@Service
public class WechatPicServiceImpl implements WechatPicService {
	@Autowired
	private WechatPicDao picDao;
	
	@Override
	public WechatPicDO get(Integer id){
		return picDao.get(id);
	}
	
	@Override
	public List<WechatPicDO> list(Map<String, Object> map){
		return picDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return picDao.count(map);
	}
	
	@Override
	public int save(WechatPicDO pic){
		return picDao.save(pic);
	}
	
	@Override
	public int update(WechatPicDO pic){
		return picDao.update(pic);
	}
	
	@Override
	public int remove(Integer id){
		return picDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return picDao.batchRemove(ids);
	}

	@Override
	public List<WechatPicDO> getByUserId(Integer id) {
		// TODO Auto-generated method stub
		return picDao.getByUserId(id);
	}

	@Override
	public int removeByid(Integer id) {
		// TODO Auto-generated method stub
		return picDao.removeByid(id);
	}
	
}
